const debounce = (callback, time = 500) => {
  let timer = null
  return (e) => {
    if (timer) clearTimeout(timer)
    timer = setTimeout(() => {
      callback && callback(e)
    }, time)
  }
}
// 引入 require('')
// 抛出方法（默认抛出）
module.exports = {
  debounce,
}
